From: Mitchell Augustin Date: Mon, 11 Aug 2025 19:21:40 +0000 (-0500) Subject: status/network: Fix quicksettings enterprise connections X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~88^2~9^2^2~33 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c9d23d7b27990fb9c26c132644b1600ea132b0a7;p=gnome-shell.git status/network: Fix quicksettings enterprise connections In d6779f34dac6c80e178a308314fe59884a65f383, the switch to shell_app_activate_action() was made without also wrapping the action parameter in an av variant. This patch adjusts network.js to use the correct av variant type when attempting to connect to an enterprise AP from the quicksettings panel. Fixes d6779f34dac6c80e178a308314fe59884a65f383 Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8590 Part-of: (cherry picked from commit ff7f7887c025c0d68f51e679fe9f58299db4c1b0) --- diff --git a/js/ui/status/network.js b/js/ui/status/network.js index afa16dc2a..0e7de4476 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -64,8 +64,8 @@ function ssidToLabel(ssid) { } function launchSettingsPanel(panel, ...args) { - const param = new GLib.Variant('(sav)', - [panel, args.map(s => new GLib.Variant('s', s))]); + const param = new GLib.Variant('av', + [new GLib.Variant('(sav)', [panel, args.map(s => new GLib.Variant('s', s))])]); const app = Shell.AppSystem.get_default() .lookup_app('org.gnome.Settings.desktop');